package com.qx.mapper;

import java.util.List;

import com.qx.po.Purchase;

public interface PurchaseMapper {
	//根据 pno 查询 Good 表数据
    public Purchase selectPurchaseBypno(String pno) throws Exception;
    
    //查询所有 Purchase 信息
    public List<Purchase> selectPurchaseAll() throws Exception;
 
    //向 Purchase 表插入一条数据
    public void insertPurchase(Purchase Purchase) throws Exception;
     
    //根据 pno 修改 Purchase 表数据
    public void updatePurchaseBypno(Purchase Purchase) throws Exception;
     
    //根据 pno 删除 Purchase 表数据
    public void deletePurchaseBypno(String pno) throws Exception;
}
